package com.bamanker.dailylove.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Component
@RefreshScope
public class DailyLoveConfigure {
    //    public static String Access_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid={0}&secret={1}";
    //    public static String Send_URL = "https://api.weixin.qq.com/cgi-bin/message/template/send?access_token={0}";
    public static String Color_quality;
    public static String Color_morning;
    public static String Color_chineseDate;
    public static String Color_festival;
    public static String Color_night;
    public static String Color_tomorrow;
    public static String Color_Now;
    public static String Color_city;
    public static String Color_weather;
    public static String Color_minTem;
    public static String Color_maxTem;
    public static String Color_tips;
    public static String Color_dailyCn;
    public static String Color_dailyEn;
    public static String Color_gbir;
    public static String Color_bbir;
    public static String Color_cbir;
    public static String Color_loveDay;
    public static String Color_remark;

    @Value("${wechat.color.tomorrow:null}")
    public void setColor_tomorrow(String color_tomorrow) {
        Color_tomorrow = color_tomorrow;
    }

    @Value("${wechat.color.quality:null}")
    public void setColor_quality(String color_quality) {
        Color_quality = color_quality;
    }

    @Value("${wechat.color.morning:null}")
    public void setColor_morning(String color_morning) {
        Color_morning = color_morning;
    }

    @Value("${wechat.color.chineseDate:null}")
    public void setColor_chineseDate(String color_chineseDate) {
        Color_chineseDate = color_chineseDate;
    }

    @Value("${wechat.color.festival:null}")
    public void setColor_festival(String color_festival) {
        Color_festival = color_festival;
    }

    @Value("${wechat.color.night:null}")
    public void setColor_night(String color_night) {
        Color_night = color_night;
    }

    @Value("${wechat.color.city:null}")
    public void setColor_city(String color_city) {
        Color_city = color_city;
    }

    @Value("${wechat.color.weather:null}")
    public void setColor_weather(String color_weather) {
        Color_weather = color_weather;
    }

    @Value("${wechat.color.minTem:null}")
    public void setColor_minTem(String color_minTem) {
        Color_minTem = color_minTem;
    }

    @Value("${wechat.color.maxTem:null}")
    public void setColor_maxTem(String color_maxTem) {
        Color_maxTem = color_maxTem;
    }

    @Value("${wechat.color.tips:null}")
    public void setColor_tips(String color_tips) {
        Color_tips = color_tips;
    }

    @Value("${wechat.color.dailyCn:null}")
    public void setColor_dailyCn(String color_dailyCn) {
        Color_dailyCn = color_dailyCn;
    }

    @Value("${wechat.color.dailyEn:null}")
    public void setColor_dailyEn(String color_dailyEn) {
        Color_dailyEn = color_dailyEn;
    }

    @Value("${wechat.color.gbir:null}")
    public void setColor_gbir(String color_gbir) {
        Color_gbir = color_gbir;
    }

    @Value("${wechat.color.bbir:null}")
    public void setColor_bbir(String color_bbir) {
        Color_bbir = color_bbir;
    }

    @Value("${wechat.color.cbir:null}")
    public void setColor_cbir(String color_cbir) {
        Color_cbir = color_cbir;
    }

    @Value("${wechat.color.loveDay:null}")
    public void setColor_loveDay(String color_loveDay) {
        Color_loveDay = color_loveDay;
    }

    @Value("${wechat.color.remark:null}")
    public void setColor_remark(String color_remark) {
        Color_remark = color_remark;
    }

    @Value("${wechat.color.now:null}")
    public void setColor_Now(String color_Now) {
        Color_Now = color_Now;
    }

    public static String App_ID;

    @Value("${wechat.app-id}")
    public void setAppID(String AppID) {
        App_ID = AppID;
    }

    public static String App_Secret;

    @Value("${wechat.app-secret}")
    public void setAppSecret(String AppSecret) {
        App_Secret = AppSecret;
    }

    public static String Open_ID;

    @Value("${wechat.open-id}")
    public void setOpenID(String OpenID) {
        Open_ID = OpenID;
    }

    public static String Template_ID_Morning;

    @Value("${wechat.template-id-morning}")
    public void setTemplateIDMorning(String templateIDMorning) {
        Template_ID_Morning = templateIDMorning;
    }

    public static String Template_ID_Night;

    @Value("${wechat.template-id-night}")
    public void setTemplateIDNight(String templateIDNight) {
        Template_ID_Night = templateIDNight;
    }

    public static String City_ID;

    @Value("${DL.city-id}")
    public void setCity_ID(String city_ID) {
        City_ID = city_ID;
    }

    public static String Color_Top = null;

    @Value("${wechat.color.top}")
    public void setColor_Top(String colorTop) {
        Color_Top = colorTop;
    }

    public static String TianXin_Key;

    @Value("${DL.tianxin-key}")
    public void setTianXin_Key(String tianXin_Key) {
        TianXin_Key = tianXin_Key;
    }

    public static String Boy_Birthday;

    @Value("${DL.boy-birthday}")
    public void setBoyBirthday(String BoyBirthday) {
        Boy_Birthday = BoyBirthday;
    }

    public static String Girl_Birthday;

    @Value("${DL.girl-birthday}")
    public void setGirlBirthday(String GirlBirthday) {
        Girl_Birthday = GirlBirthday;
    }

    public static String Cat_Birthday;

    @Value("${DL.cat-birthday}")
    public void setCatBirthday(String CatBirthday) {
        Cat_Birthday = CatBirthday;
    }

    public static String Love_Day;

    @Value("${DL.love-day}")
    public void setLoveDay(String LoveDay) {
        Love_Day = LoveDay;
    }
}